<?php
/**
 * Class for storing data to calculate insurance payment for an item type.
 *
 */
class RuleData {
    private $percent    =   0;
    private $maxAmount  =   0;
    private $conditonRequired   =   0;

    function __construct($percent, $maxMount, $conditionRequired) {
        $this->percent      =   $percent;
        $this->maxAmount    =   $maxMount;
        $this->conditonRequired =   $conditionRequired;
    }

    public function isSupported() {
    	return $this->supported;
    }

    public function getPercent(){
    	return $this->percent;
    }

    public function getMaxAmount() {
    	return $this->maxAmount;
    }

    public function isConditonRequired() {
    	return $this->conditonRequired;
    }

}
?>